home *** CD-ROM | disk | FTP | other *** search
/ The Mac 12 / the-mac-12.iso / Shareware City / Updaters / SPM 8.0.1 / DebugServices 2.0b14 / DebugServices Release Notes next >
Encoding:
Text File  |  1995-03-12  |  7.9 KB  |  179 lines  |  [TEXT/ttxt]

  1.                     ###############################################
  2.                                                 Release Notes for the Power Mac DebugServices
  3.                     ###############################################
  4. -------------------------
  5. New Notes - 2.0b14
  6. -------------------------
  7. •   Fixed a problem with System 7.5.1 (Danook) System update where Thread Manager
  8.     would not get new thread updates.
  9.  
  10. •    Fixed a problem where Power Mac DebugServices nub would crash when GetEmbeddedSymbol
  11.     would have a symbol greater than 128 length.
  12.     
  13. •    Fixed Creator to be 'bran'
  14.     
  15. -------------------------
  16. New Notes - 2.0b13
  17. -------------------------
  18.   •   Fixed a problem with System 7.5.1 (Danook) System update where Thread Manager               semantics change would cause the Power Mac DebugServices to crash when targeting or
  19. breaking in an app.  If for some reason you got beyond this point then you would not be able to set breakpoints.
  20.  
  21.   •    Fixed a problem where Power Mac DebugServices nub would freeze the machine if
  22. launched on a 68K box. 
  23.     
  24.   •    Fixed a problem where Power Mac DebugServices would not bring the target app to
  25. to the front when stepping over a call to CustomGetFile. 
  26.     
  27.  
  28. -------------------------
  29. New Notes - version 2.0b12
  30. -------------------------
  31.   • Changed calling conventions for direct callbacks to pascal style calls. 
  32.  
  33.   • Added version checking to initial PPC connection. 
  34.  
  35.   • Removed nubs dynamic growing of data structures, since this could occur in the context of 
  36.          the targeted application of host. 
  37.  
  38.   • Fixed bug in version checking. 
  39.  
  40.   • Fix to Execute Code function. 
  41.  
  42.   • Fixed bug reporting code segments of rseg application because of name mismatch. 
  43.  
  44.   • Added "Known Bugs" section to the end of this document. 
  45.  
  46. New Notes - version 2.0b11
  47. -------------------------
  48.   • The Protocol Library went through some minor changes. Host initiated calls are now 
  49.          serviced using direct callbacks instead of going through the PPC Toolbox connection.  This 
  50.          has sped certain transactions up quite a bit (such as fetching lists of containers).  These 
  51.          changes should be invisible to the debugger host code as it all happens under the sheets. 
  52.  
  53.   • There were some changes made to the nub to allow the use of kOnDiskSegmented 
  54.          containers (used with OpenDoc).
  55.  
  56.   • Changed the version number to 2.0b11 instead of 1.0b11 (sorry if this causes problems for 
  57.          you).
  58.  
  59.   • Fixed a problem where DebugServices would freeze if it was launched on a 68K machine,
  60.          it now just does an exit to shell.
  61.  
  62.   • Spell checked this document!
  63.  
  64. New Notes - version 1.0b9c2
  65. -------------------------
  66.   • The Protocol Library went through some minor changes. The multiple iterator packets have 
  67.          been introduced, which enables getting multiple entities (Processes, sections, containers 
  68.          and so forth) information through a single request.  Read through the updated ERS to see 
  69.          the changes in the calls. 
  70.  
  71.   • DebugServices used to have a bug where it would leave breakpoint traps behind if a new 
  72.          fragment load overlapped the breakpoint address. This problem have been fixed.
  73.  
  74. New Notes - version 1.0b8
  75. -------------------------
  76.   • Stepping speed have significantly improved since the last version. This was achieved by 
  77.      removing the protocol ACK from step transactions. If there is an error, however, and the 
  78.      stepping cannot happen an error will be reported to the host. Stepping error can either be 
  79.      a host error or a nub error. In either case, those types of errors requires restarting the 
  80.      debugging session and a phone call to technical support.
  81.  
  82.   • DebugServices currently prevents the user from stepping into 68k code. If the user tries 
  83.      to step, and the next instruction is 68k code, the target will be resumed.  An error
  84.      message will not be reported.
  85.  
  86.   •  It is not recommended to step into ROM. It is possible however, and will not be 
  87.       prevented, but the results are unpredictable.
  88.  
  89.     
  90.  
  91. New Notes - version 1.0b4
  92. -------------------------
  93.   • DebugServices now issues a notification message when it fails launching an application. 
  94.          The notification is a "Finder" like notification.
  95.  
  96.   • The DebugServices on startup, tests the trace bit. If from some reason, PPCTraceEnabler 
  97.          wasn't loaded, DebugServices will issue an error message and quit.
  98.     
  99.  
  100.  
  101. New Notes - version 1.0b2
  102. -------------------------
  103.   • DebugServices is now using the machine trace bit to step. To have this ability
  104.      you need to place the file "TraceBitEnable" in your extensions folder. DebugServices
  105.      will not be able to step if the file is not placed in the extensions folder. 
  106.  
  107.   • The DebugServices application will quit if you hold down the <option> <shift> 
  108.             and <delete> keys (until you get the quit message) simultaneously.  
  109.       Use it when you need to stop DebugServices without restarting the machine.
  110.  
  111.   • Having the PPC Debugger Nub and DebugServices might be confusing when using 
  112.      the <Control> key to get a break on launch event.  If both are needed, it is best to
  113.      get the PPC Debugger Nub attention through a DebugStr and DebugServices attention
  114.      by asking the front end to launch the application.
  115.  
  116. Notes
  117. -----
  118.     • Using native extensions (ndcd's) is enabled.
  119.  
  120.     • When using the DebugServices in a single machine configuration, the ProtocolLib code
  121.     (linked to the debugger front-end) needs to be resident at all times,  since it includes
  122.     completion routines that may be called asynchronously.
  123.  
  124.     • The DebugServices might issue the following error messages under the following
  125.      circumstances:
  126.         
  127.         "The DebugServices caused the exception."
  128.         The nub had an access fault, bus error or any other condition that caused it to crash.
  129.         The above message will come up just before propagating the exception to the next
  130.     handler.
  131.         
  132.         "The DebugServices cannot resume the stopped process due to a system error."
  133.         The nub called the system to stop a process in order to debug it and the stop operation  
  134.     failed.   
  135.         
  136.         "The DebugServices was unable to open the communications port."
  137.         Opening of the PPC port have failed.
  138.         
  139.         "Unable to load ndcd.  Debugger extensions will not be available."
  140.         An error occurred when the DebugServices was loading the ndcd resources from the
  141.     preference file. In that case, the extensions will not be available.
  142.         
  143.       "The DebugServices had a fatal error during initialization."
  144.         Nub initialization failed and a way that the nub has to quit. 
  145.         
  146.       The error messages can be found in the STR# resource of DebugServices. The messages
  147.     may be changed if different text is desired.
  148.     
  149.     • ExecuteCode API wasn't tested so wait for the next release before using it.
  150.  
  151.     • To launch a native application by the DebugServices, the application must have 
  152.      the SIZE resource  and in the SIZE resource, the "CanBackground" bit should be set.
  153.     
  154.     • The DebugServices may be connected to a local host or to a remote host. Using 
  155.      it remotely will give  a major performance boost (especially since the switches 
  156.      between the host and the debugged app do not happen) and it is recommended if 
  157.      the hardware is available.
  158.  
  159.  
  160.                                                                                                 -------------------------
  161.                                                                                                                         Known Bugs
  162.                                                                                                 -------------------------
  163.  
  164. • DebugServices freezes when the user steps over a calls to SetWindowPic
  165.  
  166. • If you set a breakpoint in a shared lib and an untargeted process hits it you will
  167.      be dumped into MacsBug with an unknown breakpoint.
  168.  
  169. • One user reports "Breakpoints in loader cause problems/crashes.  In any app  after 
  170.      reaching main set a bp at the last return address in the  callstack ( presumably this 
  171.      is the loader ).  It's higher than the CRT on the stack.  Execute.  Sometimes you need to 
  172.      terminate the app if you hit the BP to see the bug."  This has not been verified yet.
  173.  
  174. • One user reports that termination routines of libraries cannot be debugged.
  175.  
  176. • DebugServices seems to have lost the ability to report when the app
  177.      couldn't be launched because a shared library is missing (like the Finder
  178.      does).
  179.